package Transformation;

import java.util.List;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author 
 */
public class ParameterChange {
    
    
    private Modification modificationType;
    private String name;
    private String newName; 
    private String previousNameNode;  /* previousNameNode == null && modificationType == NEW, it is the first parameter */
    private List<Parameter> parametersToInsert;

    public static enum Modification { NEW, RENAME, DELETE };

    
    public Modification getModificationType() {
        return modificationType;
    }

    public void setModificationType(Modification modificationType) {
        this.modificationType = modificationType;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNewName() {
        return newName;
    }

    public void setNewName(String newName) {
        this.newName = newName;
    }
    
    public String getPreviousNameNode() {
        return previousNameNode;
    }

    public void setPreviousNameNode(String previousNameNode) {
        this.previousNameNode = previousNameNode;
    }

	public List<Parameter> getParametersToInsert() {
		return parametersToInsert;
	}

	public void setParametersToInsert(List<Parameter> parametersToInsert) {
		this.parametersToInsert = parametersToInsert;
	}
    
}
